package com.yelobblog.yelobblog.domain.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.yelobblog.yelobblog.domain.entity.user;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class commentsVo {
    private Integer id;
    private String content;
    private Integer articleId;
    private Integer userId;
    private user user;
    private Boolean isDelete;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
    private Integer rootCommentsId;
    private Integer toCommentsId;
}
